import React, { lazy } from "react"
import { asyncComponentLoading } from "../common"
const Tom = lazy(() => import("@/views/test003/Index"))
const Bill = lazy(() => import("@/views/test004/Index"))
const John = lazy(() => import("@/views/test005/Index"))
export default [
  {
    path: "/test003",
    element: asyncComponentLoading(<Tom />),
    meta: {
      title: "Tom",
      isMenu: true
    }
  },
  {
    path: "/test004",
    element: asyncComponentLoading(<Bill />),
    meta: {
      title: "Bill",
      isMenu: true
    }
  },
  {
    path: "/test005",
    element: asyncComponentLoading(<John />),
    meta: {
      title: "John",
      isMenu: true
    }
  }
]
